@extends('layouts.header')
@section('content')
    <nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 检测业务 <span class="c-gray en">&gt;</span> 委托单来源 <a class="btn btn-primary radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a>
    </nav>
    <div class="page-container">
        <table class="table table-border table-bordered table-hover table-bg table-responsive" id="datatable">
            <thead>
            <tr class="text-c">
                <th>代号</th>
                <th>单号</th>
                <th>批次编号</th>
            </tr>
            </thead>
            <tbody>
            @foreach ($data as $val)
                <tr class="text-c">
                    <td>{{$val->letter_code}}</td>
                    <td>{{$val->letter_no}}</td>
                    <td>{{$val->batchNum}}</td>
                </tr>
            @endforeach
            </tbody>
        </table>
    </div>
    <script>
        $('#datatable').DataTable({})
    </script>

@endsection